package com.ciwong.epaper.modules.me.ui;

import com.ciwong.epaper.modules.cordva.BaseHtmlActicity;
import com.ciwong.epaper.util.IntentFlag;
import org.apache.cordova.engine.SystemWebView;

/**
 * 注销账号
 * Created by keepon on 2017/10/11.
 */

public class WrittenOffAccountActivity extends BaseHtmlActicity {
    @Override
    public void loadData() {
        super.loadData();
        webView.setOnKeyBack(new SystemWebView.OnKeyBack() {
            @Override
            public boolean keyBack() {
                finish();
                return true;
            }
        });
        String title = getIntent().getStringExtra(IntentFlag.INTENT_FLAG_TITLE);
        String url = getIntent().getStringExtra(IntentFlag.INTENT_FLAG_URL);
        setTitleText(title);
        setStartURL(url);
        loadUrl(url);
    }
}
